<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!-- thymeleaf语法： -->
    <div>
<!--        获取域中对象的属性值 -->
        <p th:text="${searchResponseVo.pageNum + 1}"></p>
        <div th:each="item , status: ${searchResponseVo.brands}">
            <hr/>
            <a th:href="${'http://localhost:18086/search?keyword='+ item.name}"
                th:text="${'查询'+item.name}"></a>
            <a th:href="@{http://localhost:18086/search(keyword=${item.name},pageNum=${searchResponseVo.pageNum})}"
               th:text="${'查询2-'+item.name}"></a>

            <p th:text="${status.count}"></p>
            <p th:text="${item.name}"></p>
            <img style="width: 200px;height: 100px" th:src="${item.logo}" alt=""/>
        </div>
<!--      对象拆包  -->
        <div th:each="item , status: ${searchResponseVo.brands}" th:object="${item}">
            <hr/>
            <p th:text="${status.count}"></p>
            <p th:text="*{name}"></p>
            <img style="width: 200px;height: 100px" th:src="*{logo}" alt=""/>
        </div>
<!--      url地址参数拼接  -->
        <hr>
    </div>
</body>
</html>